package com.csdj.service;

import com.csdj.entity.Account;
import com.csdj.entity.Page;
import com.csdj.exception.BussinessException;

public interface AccountService {
    boolean login(String cardNo,String passWord);

    double seeBanlance(String cardNo);

    Account getAccount(String cardNo);

    boolean transfer(String cardNo,String toCardNo,double money) throws BussinessException;

    Page findRecord(String starDate,String endDate,int curPageNo,int pageSize);
}
